﻿<cfscript>
/** 
* ORM ExamMiddlePlan
* 
* @hint "Hibernate persistenter t_exammidplan. 教学任务期中考试安排计划" 
* 
*/ 

component 
	displayname="public.service.orm.senate.ExamMiddlePlan" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="ExamMiddlePlan" 
	table="t_exammidplan"
	{

	property type="string" name="TaskID" column="task_id" fieldtype="id" generator="assigned" hint="教学班号";

	property type="string" name="TaskType" column="task_type" hint="教学任务类别";
	property type="string" name="ExamIndex" column="exidx" hint="考序号";
	property type="string" name="IsArrange" column="is_arrange" hint="是否排考";

	property name="Term" fieldtype="many-to-one" fkcolumn="term_id" cfc="Term"  hint="学期";
	property name="Course" fieldtype="many-to-one" fkcolumn="cid" cfc="Course"  hint="课程";
		
}
	
</cfscript>
